package durak;

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;

import cards.Deck;

public class Player {

	protected ArrayList<DurakCard> mHand;
	protected DurakTable mTable;

	public Player() {
		mHand = new ArrayList<>();
	}

	public void sitDown(DurakTable aTable) {
		mTable = aTable;
	}

	public void drawCard(Deck<DurakCard> aDeck) {
		DurakCard drawnCard = mTable.getDeck().getTopCard();

		if (drawnCard != null)
			mHand.add(drawnCard);
	}

	public DurakCard onAttack() {
		return null;
	}

	public DurakCard[] onDefend() {
		return null;
	}

}
